package com.hskn.hss.module.tlemergentplan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hskn.hss.module.tlemergentcar.entity.TlEmergentPlanCar;
import com.hskn.hss.module.tlemergentemp.entity.TlEmergentPlanEmp;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TlEmergentPlan implements Serializable {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @TableField(exist = false)
    private String ids;
    /**
     * 计划名称
     */
    private String planname;

    /**
     * 责任人
     */
    private String dutyperson;
    /**
     * 责任人
     */
    @TableField(exist = false)
    private String dutypersonname;
    /**
     * 应急预案
     */
    private String resplan;

    @TableField(exist = false)
    private String resplanname;

    @TableField(exist = false)
    private String resplanlevel;

    @TableField(exist = false)
    private int respondtime;

    @TableField(exist = false)
    private int dealtime;

    /**
     * 图片附件地址
     */
    private String jpgfileurl;

    /**
     * 音频附件地址
     */
    private String voicefileurl;

    /**
     * 视频附件地址
     */
    private String videofileurl;

    /**
     * 附件地址
     */
    @TableField(exist = false)
    private String fileurl;

    /**
     * 现场描述
     */
    private String detail;

    /**
     * 作业位置坐标
     */
    private String workplacelat;

    /**
     * 作业位置坐标
     */
    private String workplacelon;

    /**
     * 作业位置描述
     */
    private String workplacedetail;

    /**
     * 状态 0 进行中 1 已处理
     */
    private String status;

    @TableField(exist = false)
    private String levelId;
    @TableField(exist = false)
    private String level;
    @TableField(exist = false)
    private String isover;  //是否逾期

    @TableField(exist = false)
    private List cartypes;  //

    @TableField(exist = false)
    private List emptypes;  //

    @TableField(exist = false)
    private String emergenttype;  //

    @TableField(exist = false)
    private String statusname;  //

    private String createby;

    private Date createtime;

    @TableField(exist = false)
    private String month;

    private String updateby;
    private Date updatetime;
    private String starttime;
    private String endtime;


    @TableField(exist = false)
    private Long size;
    @TableField(exist = false)
    private Long total;
    @TableField(exist = false)
    private Long current;
    @TableField(exist = false)
    private Long page;

    private String deptid;

    private String askcar;
    private String askemp;
    private String gridId;
    @TableField(exist = false)
    private String gridname;
    @TableField(exist = false)
    private List opedetails;  //作业详情
    @TableField(exist = false)
    private List<TlEmergentPlanCar> cardetails; // 车辆详情
    @TableField(exist = false)
    private List<TlEmergentPlanEmp> empdetails; //人员详情


}
